package com.mmw.ruiji.server.impl;

import com.mmw.ruiji.entity.Dish;
import com.mmw.ruiji.mapper.DishMapper;
import com.mmw.ruiji.server.DishServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DishServerImpl implements DishServer {

    @Autowired
    DishMapper dishMapper;
    @Override
    public List<Dish> getDishes() {
        return dishMapper.getDishes();
    }
}
